package com.xin.di.uav.applet.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author 01430312
 */
@Data
public class CommodityDetailInfoResponse {

    @ApiModelProperty("配送方式")
    private Byte deliveryMethod;

    @ApiModelProperty("配送时间，单位分钟")
    private BigDecimal deliveryTime;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("配送费")
    private BigDecimal expressFee;

    @ApiModelProperty("商品总金额")
    private BigDecimal price;


    @ApiModelProperty("购买商品数量")
    private Integer num;

    @ApiModelProperty("投放点名称")
    private String placementPointName;

    private List<CommodityPayResponse> commodityPayResponses;

    @ApiModelProperty("下单时间")
    private Date createTime;


    @ApiModelProperty("订单编号")
    private String tcWaybillNo;


    @ApiModelProperty("取消时间")
    private Date updateTime;

    /**
     * 记录payStatus变更的时间
     */
    @ApiModelProperty("交易时间")
    private Date transactionTime;


    @ApiModelProperty("支付渠道，微信支付：'wxpay'")
    private String payChannel;

    @ApiModelProperty("过期时间")
    private Date expireTime;
}
